package graphical;

/**
 * @Author admin
 * @Date 2019/3/20 9:02
 */
public class Rectangle extends Graphical {
    public Rectangle(){

    }
    public Rectangle(String name){
        super(name);
    }
    @Override
    void print(){
        System.out.println(name+"是（a+b）*2");
    }
}
